package com.zhangshuo.patternDesign.resrponsibility;

import java.util.Map;

/**
 * Created by shuo.zhang on 2017-10-28.
 */
public class Order {
    private int x;
    private int y;
    private Map<String,Integer> orderMap;

    private Order(){}
    public Order(int x,int y ,Map<String,Integer> orderMap){
        this.x = x;
        this.y = y ;
        this.orderMap = orderMap;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public Map<String, Integer> getOrderMap() {
        return orderMap;
    }

    public void setOrderMap(Map<String, Integer> orderMap) {
        this.orderMap = orderMap;
    }

}
